﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<MensUnoShop.Models.NormalMarket>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	MarketPicture
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

<%using (Html.BeginForm("../Product/MarketPicture", "Product", FormMethod.Post, new { @class = "shBox", enctype = "multipart/form-data" }))
    {%>    

	    <div id="main-content" class="hastable">
		    <div class="title title-spacing">
			    <h2>新增圖說</h2>
					
		    </div>  
            
            <table cellspacing="0">
                <thead>
                    <tr>            
			            <td style="width:100px">賣場圖</td>
			            <td style="width:300px"><input type="file" id="uppic" name="uppic" /></td>
                        <td style="width:100px"></td>
		            </tr>
                     <tr>            
			            <td style="width:100px">說明文字</td>
			            <td style="width:300px"><%:Html.TextArea("note")%></td>
                        <td style="width:100px"></td>
		            </tr>
                     <tr>            
			            <td style="width:100px"></td>
			            <td style="width:300px"><%:Html.Hidden("mkguid", ViewData["mkguid"])%></td>
                        <td style="width:100px"></td>
		            </tr>
                    <tr>
			            <td style="width:100px"></td>
			            <td style="width:300px">
                        <input type="button" value="圖說列表" onclick="javascript:history.back();" />
                        <input type="submit" class="submit" value="儲存" />
                        <%if (ViewData["mkguid"] != null)
                          {%>
                    
                        <%}
                          else { %>              
                          
                        <%}%>            
                        </td>
                        <td style="width:100px"></td>
		            </tr>
	            </thead>

                </table>  

            <br/><br/>　
        </div>

      
    <%} %>
    

</asp:Content>
